import require from "./axios";

export function login(data) {//{用户名和密码对象}
	return require({
		url: "/mock/d69183aef3e9bfdd738c731a7dd37b8b/zk/login",
		method: "post",
		data
		
		/*---------------使用示例---------------
			import {login} from '@/api/user'
			
			login({username:123123,password:111}).then(function(params) {
			console.log(params)
			})
		-------------------------------------*/
	})
}